from django.urls import path, re_path
from django.conf import settings
from django.views.static import serve

from . import views

urlpatterns = [
    path('recognize_invoice', views.recognize_invoice, name='invoice_url'),
    re_path('^imgs/(?P<path>.*)$', serve, {'document_root': settings.INVOICEORC_MEDIA_ROOT}),
]
